<?php
// +----------------------------------------------------------------------
// | SparkERP 优秀的进销存系统
// +----------------------------------------------------------------------
// | Copyright (c) 2022~2099 http://erp.sparkshop.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: NickBai  <1902822973@qq.com>
// +----------------------------------------------------------------------

namespace app\validate\data;

use think\Validate;

class GoodsCateValidate extends Validate
{
    protected $rule = [
        'name|分类名称' => 'require',
        'pid|父分类' => 'number',
        'sort|排序值' => 'number',
    ];
}